package com.ycd.Entity;

import java.util.Date;

/*
 * 用户实体类
 * */
public class UserEntity {
    //id
    private Integer id;
    //姓名
    private String name;
    //登陆账号
    private String acct;
    //密码
    private String pwd;
    //创建时间
    private Date crTime;
    //更新时间
    private Date upTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAcct() {
        return acct;
    }

    public void setAcct(String acct) {
        this.acct = acct;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getCrTime() {
        return crTime;
    }

    public void setCrTime(Date crTime) {
        this.crTime = crTime;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", acct='" + acct + '\'' +
                ", pwd='" + pwd + '\'' +
                ", crTime=" + crTime +
                ", upTime=" + upTime +
                '}';
    }
}
